package adapter.interfaceadapter;

/**
 * 客户端
 */
public class Client {
	public static void main(String[] args) {

		AbsAdapter adapter = new AbsAdapter() {
			@Override
			public void m1() {
				System.out.println("我重写了M1方法");
			}
		};
		adapter.m1();
	}
}
